package com.softwinner.bt.util;

public final class Command {
	//normal
    public final static String SEND_CONNECT_STATUS = "AT#CY";			//check state
    public final static String SEND_QUERY_PAIRE = "AT#MX";				//get pair list
    public final static String SEND_READ_NAME = "AT#MM";				//get BT name
    public final static String SEND_MODIFY_NAME = "AT#MM";				//modify name
    public final static String SEND_CHECK_ADDRESS = "AT#MZ";			//check address
    public final static String SEND_DIS_CONNECTED = "AT#MJ";			//disconnect BT
    public final static String SEND_RM_PAIRDEV = "AT#MR";				//remove pair
    public final static String SEND_QUERY_VOL = "AT#MK";	//MK			//get volume value
    public final static String SEND_VOICE_ECHO="AT#VE11127080003005131";    //Initialization of BT echo parameters
    public final static String SEND_MIC_GAIN="AT#VM000009";				//mic gain
    public final static String SEND_CLOSE_CALL_AUTO_ANSWER="AT#MQ";//Close call automatic answer
    public final static String SEND_SPEAKER="AT#CO";
	public final static String SEND_VOLUME_UP = "AT#VU";				//volume up
	public final static String SEND_VOLUME_DOWN = "AT#VD";				//volume down
	public final static String SEND_PHONE_SOUND = "AT#CN";				//phone sound
	public final static String SEND_BT_SOUND = "AT#CP";				//bt sound
    public final static char[] SEND_END_COMMIT = { 0xd, 0xa };			//end
    //phone
    public static final String SEND_ANSWER = "AT#CE";					//answer
    public static final String SEND_REFUSE = "AT#CF";					//refuse
    public static final String SEND_HANG_UP = "AT#CG";					//hang up
    public final static String SEND_MAKECALL = "AT#CW";					//make call
    public final static String SEND_SUB_CALL = "AT#CX";					//dial NUM
    public final static String SEND_UPLOAD_CONTACTS = "AT#PA";			//upload contacts
	public final static String SEND_SET_DTMFNUM = "AT#DT";				//set DTMF NUM
    //==================
    public final static String RECEIVE_NOT_CONNECTED = "IA";			//not connected
    public final static String RECEIVE_CONNECTED = "IB";				//connected
    public final static String RECEIVE_START_BTADDRESS = "MZ";			//get BT address
    public final static String RECEIVE_START_CONNECT = "MX0";			//get current pair device
    public final static String RECEIVE_START_PAIR = "MX";				//get pair list
    public final static String RECEIVE_START_ECAR_DTMF = "<DTMF,1>";	//get DTMF data for E-car
    //phone
    public final static String RECEIVE_START_INCOMING = "ID";			//in coming
    public final static String RECEIVE_START_OUTGOING = "IC";			//out going
    public final static String RECEIVE_START_INCALL = "IR";				//in call    
    public final static String RECEIVE_HANGUP_PHONE = "IF";				//hang up
    public final static String RECEIVE_START_UPLOAD_PHONEBOOK = "PB";	//get contacts
    public final static String RECEIVE_UPLOAD_PHONEBOOK_END = "PC";		//stop download
    public final static String RECEIVE_PLAYING_MUSIC = "MB";			//play music
    public final static String RECEIVE_PAUSE_MUSIC = "MA";				//stop music
    //music
    public final static String SEND_BT_MUSIC_PLAY="AT#MA";//play music
    public final static String SEND_BT_MUSIC_PAUSE="AT#MB";//pause music
    public final static String SEND_BT_MUSIC_STOP="AT#MC";//stop music
    public final static String SEND_BT_MUSIC_NEXT="AT#MD";//next music
    public final static String SEND_BT_MUSIC_UP="AT#ME"; //up music
    public final static String SEND_BT_MUSIC_VOLUME="AT#VF"; //BT music volume
    public final static String SEND_BT_MUSIC_GOTOPLAY="AT#MS";//go to play
    //hf state
	public final static String RECEIVE_HF_STATUS = "MG";
    public final static String RECEIVE_HF_STATUS_UNCONNECTED = "MG1";
    public final static String RECEIVE_HF_STATUS_CONNECTING = "MG2";
    public final static String RECEIVE_HF_STATUS_CONNECTED = "MG3";
    public final static String RECEIVE_HF_STATUS_OUTGOING = "MG4";
    public final static String RECEIVE_HF_STATUS_INCOMING = "MG5";
    public final static String RECEIVE_HF_STATUS_ONGOING = "MG6";
}
